package com.example.demo.domain;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * Created by User on 2017/9/13.
 */
@Entity
public class Man extends Person{

    @Column(nullable = false)
    private Integer power;

    public Integer getPower() {
        return power;
    }

    public Man setPower(Integer power) {
        this.power = power;
        return this;
    }
}
